body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /* background: url(../images/login_bg.jpg) no-repeat center; */
    background-size: cover;
}

.loginAndRegBox {
    width: 400px;
    height: 310px;
    background-color: rgba(255, 255, 255, .3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loginAndRegBox .title-box {
    height: 60px;
    background: url(../images/login_title.png) no-repeat center;
}

.layui-form {
    padding: 0 30px;
}

.layui-form-item {
    width: 340px;
    height: 38px;
    position: relative;
}

.layui-form-item i {
    position: absolute;
    top: 10px;
    left: 10px;
}

.layui-form-item input {
    outline: none;
    width: 100%;
    padding-left: 32px;
    line-height: 38px;
    box-sizing: border-box;
    border: 0;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
}

.layui-form-item .blayui-btn {
    height: 38px;
    border: 0;
    cursor: pointer;
    color: #fff;
}

.layui-form-item .blayui-btn:hover {
    opacity: .8;
}

.layui-form-item a {
    float: right;
    font-size: 12px;
}

.reg-box {
    display: none;
}